/**
 * class is having composite key
 */
package com.rst.org.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author JavaDeamon
 *
 */
@Entity
@Table(name="PARENT_CHILD_LOC_MAPPING")
public class ParentChildLocationMappingDTO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4124645879466322346L;
	private Integer parentLocId;
	private Integer childLocId;
	
	/**
	 * @return the parentLocId
	 * primary key
	 * contain loc id from location details table
	 * length is 10
	 */
	@Id
	@Column(name="PARENT_LOC_ID", length=10)
	public Integer getParentLocId() {
		return parentLocId;
	}
	/**
	 * @return the childLocId
	 */
	@Id
	@Column(name="CHILD_LOC_ID", length=10)
	public Integer getChildLocId() {
		return childLocId;
	}
	/**
	 * @param parentLocId the parentLocId to set
	 */
	public void setParentLocId(Integer parentLocId) {
		this.parentLocId = parentLocId;
	}
	/**
	 * @param childLocId the childLocId to set
	 */
	public void setChildLocId(Integer childLocId) {
		this.childLocId = childLocId;
	}
	
	

}
